GetProductType
You can fetch a list of all your product types or fetch, create, update, delete a specific one using the Ownly API.
Request URL
GET https://api-dev.theownly.io/v1/productTypes/{id}
Headers
Name | Value | Required? |
---|---|---|
Accept | application/json | Yes |
Authorization | Bearer{APItoken} | Yes |
Parameters
Name | Type | Required? | Description |
---|---|---|---|
id | String | Yes | Product Type ID |
Example Request
curl -X 'GET' \
'https://api.theownly.io/v1/productTypes/Oo5BqeAm' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {APItoken}' \
Example Response
{
"id": "Oo5BqeAm",
"name": "string"
}